package com.leo.model;

import java.util.List;

/**
 * @ClassName: User
 * @Description: 用户实体类,从这个例子开始使用lombok了，因为太好用了
 * @Author: leo825
 * @Date: 2020-01-02 11:10
 * @Version: 1.0
 */
public class User {
    //用户id
    Integer id;
    //用户名称
    String userName;
    //密码
    String password;
    //昵称
    String nickName;
    //用户性别
    String gender;
    //用户年龄
    String age;
    //备注
    String remarks;
    //角色列表
    List<String> roles;

    public User(){

    }

    public User(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }
}
